<%-- 
    Document   : AdminCategories
    Created on : 2 févr. 2010, 21:52:48
    Author     : JC
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%
            String action;

            try {
                action = (String) getServletContext().getAttribute("action");
            } catch (Exception e) {
                action = "unspecified";
            }
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Administration cat&eacute;gories</title>
    </head>
    <body>
        <%@include file="MenuBar.jsp" %>
        <%@include file="CategorySelect.jsp" %>
        <% if (action.equals("edit") || action.equals("create")) {%>
        <jsp:include page="CategoryForm.jsp">
            <jsp:param name="action" value="${action}"/>
        </jsp:include>
        <%}%>
    </body>
</html>
